option = {
	"yAxis": {
		"scale": "true",
		"type": "value",
		/*"axisLabel": {
			"textStyle": {
				"color": '#fff',
				"fontSize": 13
			}
		},
		"axisLine": {
			"lineStyle": {
				"color": '#87cefa'
			},
		},*/
		"splitLine":{
			"show":false
		}
	},
	"xAxis": {
		"axisLabel": {
			"rotate": 45,
			"interval": 0,
			/*"textStyle": {
				"color": '#ee9249',
				"fontSize": 13
			}*/
		},
		"data": ["2019-01", "2019-02", "2019-03", "2019-04", "2019-05", "2019-06", "2019-07", "2019-08", "2019-09",
			"2019-10", "2019-11", "2019-12", "2020-01", "2020-02", "2020-03", "2020-04"
		],
		/*"axisLine": {
			"lineStyle": {
				"color": '#fff'
			},
		},*/
		"type": "category",
	},
	"legend": {
		"data": ["煤炭", "金属矿石", "建材", "非金属矿石", "综合"],
		"textStyle": {
			"fontSize": 10
		},
		"top": "10%",
		"itemHeight": 10,
		"itemWidth": 15
		
	},
	"grid": {
		"left": "3%",
		"bottom": "10%",
		"right": "2%",
		"containLabel": true
	},
	"series": [{
		"tiled": "分值",
		"data": [828.45300, 816.10000, 762.66164, 737.82817, 731.81349, 800.41370, 795.08053, 816.60419, 831.70000,
			833.64220, 777.70000, 810.30000, 792.00000, 790.90000, 739.10000, 729.50000
		],
		"name": "煤炭",
		"type": "line",
		"smooth": "true",
		"symbol": "circle",
		"symbolSize":7
	}, {
		"tiled": "分值",
		"data": [753.26290, 705.60000, 624.58236, 603.45968, 586.73303, 618.28170, 649.03768, 665.04838, 673.10000,
			691.65925, 669.70000, 680.20000, 664.60000, 642.20000, 581.30000, 556.30000
		],
		"name": "金属矿石",
		"type": "line",
		"smooth": "true",
		"symbol": "arrow",
		"symbolSize":7
	}, {
		"tiled": "分值",
		"data": [1366.05210, 1336.70000, 1184.47857, 1150.73133, 1282.15612, 1320.42900, 1291.64910, 1342.56743,
			1277.90000, 1308.65120, 1333.40000, 1295.30000, 1247.80000, 1153.70000, 1133.10000, 1101.10000
		],
		"name": "建材",
		"type": "line",
		"smooth": "true",
		"symbol": "roundRect",
		"symbolSize":7
	}, {
		"tiled": "分值",
		"data": [1066.36660, 1021.59702, 1003.72652, 987.73419, 997.21031, 1011.16110, 1063.26908, 1069.93250, 1103.80000,
			1115.27470, 1102.20000, 1083.10000, 1083.80000, 1052.30000, 1030.70000, 1031.10000
		],
		"name": "非金属矿石",
		"type": "line",
		"smooth": "true",
		"symbol": "triangle",
		"symbolSize":7
	}, {
		"tiled": "分值",
		"data": [854.08820, 820.20000, 749.34331, 727.21740, 736.63196, 775.81690, 790.46606, 812.21334, 813.80000,
			833.41350, 801.70000, 810.70000, 791.30000, 766.10000, 719.20000, 701.80000
		],
		"name": "综合",
		"type": "line",
		"smooth": "true",
		"symbol": "diamond",
		"symbolSize":7
	}],
	"tooltip": {
		"trigger": "axis"
	},
	"title": {
		"textStyle": {
			"color": "#1272ef",
			"fontSize": 12,
			"fontWeight": "bolder",
		},
		"text": "干散货运价指数走势图",
		"left":10
	}
};

//获取dom容器
var myChart = echarts.init(document.getElementById('gsh_c'));
// 使用刚指定的配置项和数据显示图表。
myChart.setOption(option);

